package com.vanrui.pcp.autocode.constants;

public final class Constant {
	
	//解析autoCode.xml 中用到的标签和固定值
	public final static String FREEMARKER = "freemarker";
	public final static String VERSION = "version";
	public final static String TYPE_MAPPINGS = "typeMappings";
	public final static String TYPE_MAPPING = "typeMapping";
	public final static String MACROS = "macros";
	public final static String MACRO = "macro";
	public final static String TEMPLATEDIR = "templateDir";
	public static final String PROJECT_PATH = "projectPath";
	public final static String PACKAGES = "packages";
	public final static String PACKAGE = "package";
	public final static String TEMPLATE_DIR_PATH = "path";
	public final static String COLUMN_TYPE = "columnType";
	public final static String DEFAULT_VALUE = "defaultValue";
	public final static String FIELD_TYPE = "fieldType";
	public final static String TEMPLATE_MODEL = "templateModel";
	public final static String MACRO_NAME = "name";
	public final static String TEMPLATE = "template";
	public static final String ENABLE = "enable";
	public static final String ENABLE_TRUE = "true";
	public static final String ENABLE_FALSE = "false";
	public static final String PCKG_NAME = "pckgName";
	public static final String PREFIX = "prefix";
	public static final String SUFFIX = "suffix";
	public static final String FILE_TYPE = "fileType";
	public final static String STRING = "String";
	public final static String ASTERISK = "*";
	public final static String TEMPLATE_SHAREABLE = "shareable";
	public final static String TEMPLATE_SHAREABLE_TRUE = "true";
	public final static String TEMPLATE_SHAREABLE_FALSE = "false";
	public static final String JDBC = "jdbc";
	public static final String URL = "url";
	public static final String USER = "user";
	public static final String PASSWORD = "password";
	public static final String DRIVER = "driver";
	public static final String TABLE_NAME = "tableName";
	public static final String TABLE_ALIAS = "tableAlias";
	public static final String TABLE_COMMENT = "comment";
	public static final String TABLES = "tables";
	
	//支持的所有freemarker版本
	public final static String VERSION_2_3_0 = "2_3_0";
	public final static String VERSION_2_3_19 = "2_3_19";
	public final static String VERSION_2_3_20 = "2_3_20";
	public final static String VERSION_2_3_21 = "2_3_21";
	public final static String VERSION_2_3_22 = "2_3_22";
	public final static String VERSION_2_3_23 = "2_3_23";
	
	public final static String SEPARATOR_POINT = ".";
	
	//
	public static final String CLASS_NAME = "className";
	public static final String PACKAGE_ = "package";
	public static final String FILE_NAME = "fileName";
	public static final String FILE_DIRECTORY = "fileDirectory";
	public static final String FILE_PATH = "filePath";
	public static final String PROS = "pros";
	public static final String COLUMN_NAME = "columnName";
	public static final String FIELD_NAME = "fieldName";
	public static final String FIELD_METHOD_NAME = "fieldMethodName";
	public static final String FIELD_COMMENT = "fieldComment";
	public static final String ENTRY_NAME = "entryName";
	public static final String COMMENT = "comment";
	
	

}
